<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
</head>
<body>
<input type="button" id="callAndroid" value="呼叫android" onclick="callAndroid()"/>
<input type="button" id="jsBridgeResultTest" value="调用jsBridgeResultTest" onclick="jsBridgeResultTest()"/>

<script>
           function callAndroid() {
            //call native method
            const args = [1, true, ['bar', 5], {foo: 'baz'}, '1'];
      window.flutter_inappwebview.callHandler('abs', ...args);
}
   function jsBridgeResultTest() {
            //call native method
      window.flutter_inappwebview.callHandler('jsBridgeResultTest', '1','2').then(function(result){
      alert(result);
      });
}
       function dyzt(msg1) {
        alert(msg1);
        return 12;
       }
        </script>
</body>
</html>